package com.ruoyi.registration.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 资源申请登记对象 resource_apply
 * 
 * @author Marissa
 * @date 2023-12-09
 */
public class ResourceApply extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long rId;

    /** 资源名 */
    @Excel(name = "资源名")
    private String rName;

    /** 申请人 */
    @Excel(name = "申请人")
    private String rApplicant;

    /** 申请理由 */
    @Excel(name = "申请理由")
    private String rReason;

    /** 申请时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "申请时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date rTime;

    public void setrId(Long rId) 
    {
        this.rId = rId;
    }

    public Long getrId() 
    {
        return rId;
    }
    public void setrName(String rName) 
    {
        this.rName = rName;
    }

    public String getrName() 
    {
        return rName;
    }
    public void setrApplicant(String rApplicant) 
    {
        this.rApplicant = rApplicant;
    }

    public String getrApplicant() 
    {
        return rApplicant;
    }
    public void setrReason(String rReason) 
    {
        this.rReason = rReason;
    }

    public String getrReason() 
    {
        return rReason;
    }
    public void setrTime(Date rTime) 
    {
        this.rTime = rTime;
    }

    public Date getrTime() 
    {
        return rTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("rId", getrId())
            .append("rName", getrName())
            .append("rApplicant", getrApplicant())
            .append("rReason", getrReason())
            .append("rTime", getrTime())
            .toString();
    }
}
